<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>课程列表</title>
</head>

<body>
    <h1>临床医学考研课程列表</h1>
    <ul>
        {% for category in categories %}
        <li><a href="{% url 'course_list_by_category' category.slug %}">{{ category.name }}</a></li>
        {% endfor %}
    </ul>
    <ul>
        {% for course in courses %}
        <li><a href="{% url 'course_detail' course.id %}">{{ course.title }}</a></li>
        {% endfor %}
    </ul>
</body>

</html>